package com.guice.impl;

import org.springframework.jdbc.core.support.JdbcDaoSupport;

import cn.web.Annotation.Transaction;

import com.google.inject.Singleton;
import com.guice.HelloGuice;
import com.guice.Logger;


public class HelloGuiceImpl extends JdbcDaoSupport implements HelloGuice {
	@Transaction
	public void sayHello() {
		System.out.println(String.format("[%s#%d] execute %s at %d", this.getClass().getSimpleName(),
				 hashCode(), "sayHello", System.nanoTime())
				);
	}
}
